]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
system: Hide the AltSwitcher when we have nothing to show
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 26 Aug 2013 19:21:23 +0000 (15:21 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 29 Aug 2013 19:17:12 +0000 (15:17 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=706852

js/ui/status/system.js

index 40968abd40caf7454d6b62719f1ea6a535c5a89e..c319b09501c63077086e36cc8259a81b6e158551 100644 (file)
@@ -60,6 +60,8 @@ const AltSwitcher = new Lang.Class({
             // sync the pointer to make sure they update.
             global.sync_pointer();
         }
+
+        this.actor.visible = (childToShow != null);
     },
 
     _onDestroy: function() {